package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Entity
@Table(name = "sys_msg_config")
public class MsgConfig implements Serializable {

	private static final long serialVersionUID = 9094675152845651408L;
	@Id
	@Column(name = "key_nvarchar", columnDefinition = "varchar(255)")
	private String key;
	@Column(name = "m_type_tinyint", columnDefinition = "tinyint(1) comment '短信=1,微信消息=2,'")
	private Integer mType;
	@Column(name = "template_id_nvarchar", columnDefinition = "varchar(255)")
	private String templateId;
	@Column(name = "t_name_nvarchar", columnDefinition = "varchar(255)")
	private String tName;
	@Column(name = "t_content_nvarchar", columnDefinition = "varchar(255)")
	private String tContent;
	@Column(name = "url_nvarchar", columnDefinition = "varchar(255)")
	private String url;
}
